//
//  HomeLayout.m
//  LiveStar
//
//  Created by 漪珊 on 2017/4/10.
//  Copyright © 2017年 apple. All rights reserved.
//

#import "HomeLayout.h"

@implementation HomeLayout
- (void)prepareLayout {
    [super prepareLayout];
    
}
- (CGSize)collectionViewContentSize {
    
    return CGSizeMake(kSCREEN_WIDTH, ((kSCREEN_WIDTH - 20)/2 + 40)*self.livingCount/2 + 115*self.predictCount + ((kSCREEN_WIDTH - 20)/2 + 40)*self.videoCount/2 +self.callStarCount * 80  + 40*4 +56 *3 + 122 + 44);
}

@end
